package com.xs.designpattern;

import lombok.Getter;

/**
 * @author xs
 */
@Getter
public enum WeatherType {

    /**
     * 天气枚举
     */
    SUNNY("阳光明媚"), RAINY("雨天"), WINDY("刮风"), COLD("寒冷的");

    private final String description;

    WeatherType(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return this.name().toLowerCase();
    }
}
